'use strict';


module.exports = app => {
  const { router, controller } = app;// 结构
  const url = '/api/mall/pc-web/address'; // 开启路由前缀

  // 设置默认地址
  router.patch(`${url}/:id`, controller.mall.pcWeb.address.setDefault);

  router.resources(`${url}`, controller.mall.pcWeb.address);


};
